#ifndef VERTEX_H
#define VERTEX_H

#include "d3dUtil.h"

namespace D3D10Utils
{
	struct Vertex
	{
		D3DX10INLINE Vertex(const float x = 0.0f, const float y = 0.0f, const float z = 0.0f,
			const float nx = 0.0f, const float ny = 0.0f, const float nz = 0.0f,
			const float u = 0.0f, const float v = 0.0f);

		D3DXVECTOR3 mPos;
		D3DXVECTOR3 mNormal;
		D3DXVECTOR2 mTexC;
	};

	Vertex::Vertex(const float x, const float y, const float z,
		const float nx, const float ny, const float nz,
		const float u, const float v)
		: mPos(x, y, z)
		, mNormal(nx, ny, nz)
		, mTexC(u, v)
	{

	}
}
 
#endif // VERTEX_H

